package com.dingding.transfer.stamper.dto;


import java.io.Serializable;
import java.util.Date;

/**
 * @author zhf
 */
public class BaseEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 印控仪设备UUID，该值在硬件设备出厂时自动生成
	 * 所有设备均存在唯一UUID，不存在两个相同的UUID的设备
	 */
	private String uuid;

	/**
	 * 消息生成时间戳
	 */
	private Long timeStamp;

	public BaseEntity() {
		this.timeStamp = new Date().getTime();
	}

	public BaseEntity(String uuid) {
		this.timeStamp = new Date().getTime();
		this.uuid = uuid;
	}

	public String getUuid() {
		return uuid;
	}

	public void setUuid(String uuid) {
		this.uuid = uuid;
	}

	public Long getTimeStamp() {
		return timeStamp;
	}

	public void setTimeStamp(Long timeStamp) {
		this.timeStamp = timeStamp;
	}
}
